package com.ruoyi.cms.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 栏目
 */
@Data
@TableName("system_category")
public class Category implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId("id")
    private String id;

    private String cnname;

    private String enname;

    private String code;

    private String catSeq;

    private String formId;

    private String imagePath;

    private String description;

    private String linkTarget;

    private Integer pageSize;

    private Integer catModel;

    private String visitUrl;

    private String coverTemp;

    private String listTemp;

    private String articleTemp;

    private String linkUrl;

    private String defaultEditor;

    private String parentId;

    private Integer isShow;

    private String level;

    private Integer sort;

    private Integer isInput;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    private String ext01;

    private String ext02;

    private String ext03;

    private String ext04;

    private String ext05;

    private String mdContent;

    private String htmlContent;

    @TableField(exist = false)
    private String parentName;

    @TableField(exist = false)
    private List<Category> children;

    @TableField(exist = false)
	private Integer childrenFlag;

}
